﻿<UserControl 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vm="clr-namespace:SqlExport.ViewModel"
    xmlns:ui="clr-namespace:SqlExport" xmlns:View="clr-namespace:SqlExport.View" mc:Ignorable="d"
    x:Class="SqlExport.ResultsPanel"
    x:Name="UserControl"
    d:DesignWidth="640" d:DesignHeight="480">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="ProjectDataSources.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <UserControl.DataContext>
        <Binding Mode="OneWay" Path="ResultsPanelViewModel" Source="{StaticResource Locator}"/>
    </UserControl.DataContext>
    <Grid Name="LayoutRoot">
        <TabControl x:Name="Results" ItemsSource="{Binding DisplayPages}" SelectedItem="{Binding SelectedTabItem}">
        </TabControl>
    </Grid>
</UserControl>
